
package cn.amossun.starter.mybatis.data.security.properties;

import cn.amossun.starter.common.enums.DesensitizedType;
import lombok.*;

/**
 * EncryptDecrypt property and column rule configuration.
 */
@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
@ToString
public final class ResultConfiguration {

    private String property;

    private String column;

    private boolean encrypt = true;

    private boolean decrypt = true;

    private String encryptDelimiter;

    private DesensitizedType desensitizedType = DesensitizedType.DEFAULT_SKIP;

}
